import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { Route } from '@angular/router';
import { StepsComponent } from '@app/pipeline/step/step.component';
import { FlexsComponent } from '@app/pipeline/flex/flex.component';
//import{GanttCharModalComponent} from '@app/pipeline/gantt/gantt-char-modal.component';

@NgModule({
    imports: [
        RouterModule.forChild([
            {
                path: '',
                children: [
                    { path: 'step', component: StepsComponent, data: { permission: 'Mes51.Pages.Pipleline.Step' } },
                    { path: 'flex', component: FlexsComponent, data: { permission: 'Mes51.Pages.Pipleline.Flex' } },
                    //{ path: 'ganttchar', component: GanttCharModalComponent, data: { permission: '' } }
                ]
            }
        ])
    ],
    exports: [
        RouterModule
    ]
})
export class PipelineRoutingModule { }
